#include "EventLoop.h"
#include "Acceptor.h"
#include "TcpConnection.h"
#include <iostream>
#include <unistd.h>

using std::cout;
using std::endl;

void test0(){
    Acceptor acceptor("127.0.0.1",8888);
    acceptor.ready();

    EventLoop loop(acceptor);
    loop.loop();
}

int main(int argc, char * argv[])
{
    test0();
    return 0;
}


